import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
(function () {
    function setRootFontSize() {
      const html = document.documentElement;
      const width = html.clientWidth;
      html.style.fontSize = width / 10 + 'px'; // 1rem = 10% of the viewport width
    }
    setRootFontSize();
    window.addEventListener('resize', setRootFontSize);
  })();

import router from './router';

const app = createApp(App);
app.use(router);
app.mount('#app')
